clear all
set more off 
cd "$main_dir/data"

********************************************************************************
* appendix figure 1: chicago listings

********************************************************************************

* load zip code shape file and merge to ACS zip characteristics
use zip_co,clear
merge m:1 _ID using cleaned_zip_db
keep if floor(zcta5/100)==606

* append listing locations
append using zillow_analysis_file_long

tw (area _Y _X , ///
	ysc(off) yla(,nogrid) xsc(off)  cmissing(n) nodropbase fi(25) ///
	col(gray) graphr(fc(white)) lwidth(vvvthin) xsize(12) ysize(16)) || ///
scatter listing_lat listing_lon if msa=="chicago" & listing_year==2018 ///
	, mlw(vthin) msize(vsmall) color(black%30) mfc(none) ///
	, legend(off)
